home *** CD-ROM | disk | FTP | other *** search
Text File | 1994-11-11 | 1.7 KB | 84 lines | [TEXT/MPS ] |
- {
- File: CRMSerialDevices.p
-
- Copyright: © 1984-1994 by Apple Computer, Inc.
- All rights reserved.
-
- Version: Universal Interfaces 2.0a3 ETO #16, MPW prerelease. Friday, November 11, 1994.
-
- Bugs?: If you find a problem with this file, send the file and version
- information (from above) and the problem description to:
-
- Internet: apple.bugs@applelink.apple.com
- AppleLink: APPLE.BUGS
-
- }
-
- {$IFC UNDEFINED UsingIncludes}
- {$SETC UsingIncludes := 0}
- {$ENDC}
-
- {$IFC NOT UsingIncludes}
- UNIT CRMSerialDevices;
- INTERFACE
- {$ENDC}
-
- {$IFC UNDEFINED __CRMSERIALDEVICES__}
- {$SETC __CRMSERIALDEVICES__ := 1}
-
- {$I+}
- {$SETC CRMSerialDevicesIncludes := UsingIncludes}
- {$SETC UsingIncludes := 1}
-
-
- {$IFC UNDEFINED __TYPES__}
- {$I Types.p}
- {$ENDC}
- { ConditionalMacros.p }
-
- {$PUSH}
- {$ALIGN MAC68K}
- {$LibExport+}
-
- CONST
- { for the crmDeviceType field of the CRMRec data structure }
- crmSerialDevice = 1;
- { version of the CRMSerialRecord below }
- curCRMSerRecVers = 1;
-
- { Maintains compatibility w/ apps & tools that expect an old style icon }
-
- TYPE
- CRMIconRecord = RECORD
- oldIcon: ARRAY [0..31] OF LONGINT; { ICN# }
- oldMask: ARRAY [0..31] OF LONGINT;
- theSuite: Handle; { Handle to an IconSuite }
- reserved: LONGINT;
- END;
- CRMIconPtr = ^CRMIconRecord;
- CRMIconHandle = ^CRMIconPtr;
-
- CRMSerialRecord = RECORD
- version: INTEGER;
- inputDriverName: StringHandle;
- outputDriverName: StringHandle;
- name: StringHandle;
- deviceIcon: CRMIconHandle;
- ratedSpeed: LONGINT;
- maxSpeed: LONGINT;
- reserved: LONGINT;
- END;
- CRMSerialPtr = ^CRMSerialRecord;
-
-
- {$ALIGN RESET}
- {$POP}
-
- {$SETC UsingIncludes := CRMSerialDevicesIncludes}
-
- {$ENDC} {__CRMSERIALDEVICES__}
-
- {$IFC NOT UsingIncludes}
- END.
- {$ENDC}
-